package cn.bjit.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductVO implements Serializable {
    private Long id;
    //标题
    private String title;
    //封面图
    @JsonProperty("cover_img")
    private String coverImg;
    //详情
    private String detail;
    //老价格
    @JsonProperty("old_amount")
    private BigDecimal oldAmount;
    //新价格
    private BigDecimal amount;
    //库存
    private Integer stock;
}
